package com.guinea.core;

import java.awt.Paint;

import org.jfree.chart.renderer.category.BarRenderer;

public class CustomBarRenderer extends BarRenderer {
    private Paint[] colors;

    public CustomBarRenderer(Paint[] paramArrayOfPaint)
    {
      this.colors = paramArrayOfPaint;
    }

    public Paint getItemPaint(int paramInt1, int paramInt2)
    {
      return this.colors[(paramInt2 % this.colors.length)];
    }
}
